FROM adoptopenjdk/openjdk8:latest

ENV SERVER_PORT=8989

WORKDIR /web/data/property

EXPOSE ${SERVER_PORT}

ADD ./target/property-system.jar /App.jar

ENTRYPOINT [ "java", "-DServer.port=${SERVER_PORT}", "-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3999,suspend=n" ,"-jar", "/App.jar" ]
